home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Devpac 2.12 disk 2.adf / include.cbm / exec / resident.i < prev    next >
Text File  |  1987-03-31  |  2KB  |  54 lines

  1.     IFND EXEC_RESIDENT_I
  2. EXEC_RESIDENT_I SET 1
  3. **********************************************************************
  4. *
  5. *   Commodore Amiga -- ROM Operating System Executive Include File
  6. *
  7. **********************************************************************
  8. *
  9. *   Source Control:
  10. *
  11. *       $Header: resident.i,v 1.0 85/08/28 15:13:41 carl Exp $
  12. *
  13. *       $Locker:  $
  14. *
  15. **********************************************************************
  16.  
  17.  
  18. *----------------------------------------------------------------
  19. *
  20. *   Resident Module Tag
  21. *
  22. *----------------------------------------------------------------
  23.  
  24.  STRUCTURE RT,0
  25.     UWORD RT_MATCHWORD                  * word to match
  26.     APTR  RT_MATCHTAG                   * pointer to structure base
  27.     APTR  RT_ENDSKIP                    * address to continue scan 
  28.     UBYTE RT_FLAGS                      * various tag flags
  29.     UBYTE RT_VERSION                    * release version number
  30.     UBYTE RT_TYPE                       * type of module
  31.     BYTE  RT_PRI                        * initialization priority
  32.     APTR  RT_NAME                       * pointer to node name
  33.     APTR  RT_IDSTRING                   * pointer to id string
  34.     APTR  RT_INIT                       * pointer to init code
  35.     LABEL RT_SIZE
  36.  
  37.  
  38. *------ Match word definition:
  39.  
  40. RTC_MATCHWORD   EQU     $4AFC           * (ILLEGAL instruction)
  41.  
  42.  
  43. *------ RT_FLAGS bit and field definitions:
  44.  
  45.     BITDEF RT,COLDSTART,0
  46.     BITDEF RT,AUTOINIT,7                * RT_INIT points to data
  47.  
  48. * Compatibility:
  49. RTM_WHEN        EQU     1               * field position in RT_FLAGS
  50. RTW_NEVER       EQU     0               * never ever init
  51. RTW_COLDSTART   EQU     1               * init at coldstart time
  52.  
  53.     ENDC !EXEC_RESIDENT_I
  54.